package com.phoebe.auth.dao;

import com.phoebe.auth.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.UUID;

@Mapper
public interface RoleDAO {

    void insert(Role role);

    int deleteById(UUID id);

    void update(Role role);

    Role selectById(UUID id);

    List<Role> selectAll();
}